/*
 * File:   Circle.h
 * Author: Elevator
 *
 * Created on 9 Июнь 2013 г., 15:19
 */

#ifndef COMMON_CIRCLE_H
#define COMMON_CIRCLE_H

#include "Common/Algebra/Vec2.h"

struct Circle {
public:
	Vec2 Center;
	float Radius;

	Circle( Vec2 position, float raduis ) : Center( position ), Radius( raduis ) {
	}

	Circle( ) : Center( Vec2::ZERO ), Radius( 0.0f ) {
	}
};

inline bool operator == (const Circle& a, const Circle& b) {
	return
		a.Center.X == b.Center.X &&
		a.Center.Y == b.Center.Y &&
		a.Radius == b.Radius;
}


#endif	/* CIRCLE_H */

